package com.red.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.red.dto.AdminsLoginDTO;
import com.red.dto.AdminsPageQueryDTO;
import com.red.entity.Admins;
import com.red.result.PageResult;
import com.red.vo.AdminsVO;

/**
 * @author 刘英豪
 */
public interface AdminsService extends IService<Admins> {
    AdminsVO login(AdminsLoginDTO dto);

    PageResult pageQuery(AdminsPageQueryDTO dto);

    Admins getAdminInfo();

    void updateAdmins(Admins admins);

    void deleteById(Long id);

    void insert(Admins admins);
}
